package org.dromara.agriculture.domain.vo;

import org.dromara.agriculture.domain.AgricultureStandardJob;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 标准作业任务视图对象 agriculture_standard_job
 *
 * @author Robin
 * @date 2024-12-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AgricultureStandardJob.class)
public class AgricultureStandardJobVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 作业任务ID
     */
    @ExcelProperty(value = "作业任务ID")
    private Long jobId;

    /**
     * 种质ID
     */
    @ExcelProperty(value = "种质ID")
    private Long germplasmId;

    /**
     * 作业任务名称
     */
    @ExcelProperty(value = "作业任务名称")
    private String jobName;

    /**
     * 作业周期单位（0代表周 1代表天）
     */
    @ExcelProperty(value = "作业周期单位", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表周,1=代表天")
    private String cycleUnit;

    /**
     * 起始周/天
     */
    @ExcelProperty(value = "起始周/天")
    private Long jobStart;

    /**
     * 结束周/天
     */
    @ExcelProperty(value = "结束周/天")
    private Long jobFinish;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private String status;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long orderNum;


}
